package DP.command.common.comm.impl;

import DP.command.common.receiver.Receiver;
import DP.command.common.comm.Command;

/**
 * @author msi
 * 具体的Command类
 */
public class ConcreteCommand1 extends Command {
    
    private Receiver receiver;
    
    public ConcreteCommand1(Receiver receiver){
        this.receiver=receiver;
    }
    
    @Override
    public void execute() {
        this.receiver.doSomething();    
    }
}
